package com.igeek.boot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 事件表
 * </p>
 *
 * @author fengqq
 * @since 2024-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zhrj_alarm_info")
@ApiModel(value="ZhrjAlarmInfo对象", description="事件表")
public class ZhrjAlarmInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "终端IP")
    private String wanIp;

    @ApiModelProperty(value = "采集时间")
    private LocalDateTime eventTime;

    @ApiModelProperty(value = "事件类型(DICT: event_type)")
    private Integer eventType;

    @ApiModelProperty(value = "事件状态(DICT: event_status)")
    private Integer eventStatus;

    @ApiModelProperty(value = "事件归集原因")
    private String eventReasons;

    //不是表中的字段 查询的字段dept_name
    @TableField(exist = false,value = "dept_name")
    private String deptName;
    @TableField(exist = false,value = "display_value")
    private String displayValue;

}
